﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000893 RID: 2195
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GiveUpBoxingClubChallengeScRsp : IMessage<GiveUpBoxingClubChallengeScRsp>, IMessage, IEquatable<GiveUpBoxingClubChallengeScRsp>, IDeepCloneable<GiveUpBoxingClubChallengeScRsp>, IBufferMessage
	{
		// Token: 0x17001BA3 RID: 7075
		// (get) Token: 0x06006219 RID: 25113 RVA: 0x00104A3F File Offset: 0x00102C3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GiveUpBoxingClubChallengeScRsp> Parser
		{
			get
			{
				return GiveUpBoxingClubChallengeScRsp._parser;
			}
		}

		// Token: 0x17001BA4 RID: 7076
		// (get) Token: 0x0600621A RID: 25114 RVA: 0x00104A46 File Offset: 0x00102C46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GiveUpBoxingClubChallengeScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001BA5 RID: 7077
		// (get) Token: 0x0600621B RID: 25115 RVA: 0x00104A58 File Offset: 0x00102C58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GiveUpBoxingClubChallengeScRsp.Descriptor;
			}
		}

		// Token: 0x0600621C RID: 25116 RVA: 0x00104A5F File Offset: 0x00102C5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GiveUpBoxingClubChallengeScRsp()
		{
		}

		// Token: 0x0600621D RID: 25117 RVA: 0x00104A68 File Offset: 0x00102C68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GiveUpBoxingClubChallengeScRsp(GiveUpBoxingClubChallengeScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.aKFANIJHPCN_ = ((other.aKFANIJHPCN_ != null) ? other.aKFANIJHPCN_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600621E RID: 25118 RVA: 0x00104AB4 File Offset: 0x00102CB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GiveUpBoxingClubChallengeScRsp Clone()
		{
			return new GiveUpBoxingClubChallengeScRsp(this);
		}

		// Token: 0x17001BA6 RID: 7078
		// (get) Token: 0x0600621F RID: 25119 RVA: 0x00104ABC File Offset: 0x00102CBC
		// (set) Token: 0x06006220 RID: 25120 RVA: 0x00104AC4 File Offset: 0x00102CC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001BA7 RID: 7079
		// (get) Token: 0x06006221 RID: 25121 RVA: 0x00104ACD File Offset: 0x00102CCD
		// (set) Token: 0x06006222 RID: 25122 RVA: 0x00104AD5 File Offset: 0x00102CD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HKFBMLKMOMJ AKFANIJHPCN
		{
			get
			{
				return this.aKFANIJHPCN_;
			}
			set
			{
				this.aKFANIJHPCN_ = value;
			}
		}

		// Token: 0x06006223 RID: 25123 RVA: 0x00104ADE File Offset: 0x00102CDE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GiveUpBoxingClubChallengeScRsp);
		}

		// Token: 0x06006224 RID: 25124 RVA: 0x00104AEC File Offset: 0x00102CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GiveUpBoxingClubChallengeScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.AKFANIJHPCN, other.AKFANIJHPCN) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006225 RID: 25125 RVA: 0x00104B3C File Offset: 0x00102D3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.aKFANIJHPCN_ != null)
			{
				num ^= this.AKFANIJHPCN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006226 RID: 25126 RVA: 0x00104B91 File Offset: 0x00102D91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006227 RID: 25127 RVA: 0x00104B99 File Offset: 0x00102D99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006228 RID: 25128 RVA: 0x00104BA4 File Offset: 0x00102DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.aKFANIJHPCN_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.AKFANIJHPCN);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006229 RID: 25129 RVA: 0x00104C00 File Offset: 0x00102E00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.aKFANIJHPCN_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AKFANIJHPCN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600622A RID: 25130 RVA: 0x00104C58 File Offset: 0x00102E58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GiveUpBoxingClubChallengeScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.aKFANIJHPCN_ != null)
			{
				if (this.aKFANIJHPCN_ == null)
				{
					this.AKFANIJHPCN = new HKFBMLKMOMJ();
				}
				this.AKFANIJHPCN.MergeFrom(other.AKFANIJHPCN);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600622B RID: 25131 RVA: 0x00104CC0 File Offset: 0x00102EC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600622C RID: 25132 RVA: 0x00104CCC File Offset: 0x00102ECC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.aKFANIJHPCN_ == null)
					{
						this.AKFANIJHPCN = new HKFBMLKMOMJ();
					}
					input.ReadMessage(this.AKFANIJHPCN);
				}
			}
		}

		// Token: 0x0400258D RID: 9613
		private static readonly MessageParser<GiveUpBoxingClubChallengeScRsp> _parser = new MessageParser<GiveUpBoxingClubChallengeScRsp>(() => new GiveUpBoxingClubChallengeScRsp());

		// Token: 0x0400258E RID: 9614
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400258F RID: 9615
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04002590 RID: 9616
		private uint retcode_;

		// Token: 0x04002591 RID: 9617
		public const int AKFANIJHPCNFieldNumber = 1;

		// Token: 0x04002592 RID: 9618
		private HKFBMLKMOMJ aKFANIJHPCN_;
	}
}
